<%@ page language="java" errorPage="/error.jsp" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title></title>
		<%@ include file="/jsp/front/common/header.jsp"%>
	</head>
	<body>
		<%@ include file="/jsp/front/common/nav.jsp"%>

		<div style="margin: auto; width: 985px;">
			<div class="MemberCenter">
				<div class="siteparttitle">
					<div class="gender"></div>
					<div class="info">
						<strong>您好:${member.name}</strong>&nbsp;&nbsp;[ 会员中心]&nbsp;&nbsp;[
						<a href="logout.html" class="lnk">退出</a>]
					</div>
					<div class="time"></div>
					<div style="clear: both;"></div>
				</div>

				<%@ include file="/jsp/front/member/memberNav.jsp"%>

				<div class="MemberMain">
					<div style="margin-right: 175px;">
						<div class="title">
							收货地址
						</div>
						<span><a class="lnk" href="member_address_add.html"><img src="<c:url value="/images/statics/btn-addaddress.gif"/>" /> </a> </span>
						<table width="100%" cellspacing="0" cellpadding="0" border="0" class="memberlist">

							<tr>
								<th>
									收货人
								</th>
								<th>
									地址
								</th>
								<th>
									电话
								</th>
								<th>
									手机
								</th>
								<th>
									邮编
								</th>
								<th>
									操作
								</th>
							</tr>

							<c:forEach items="${memberAddresses}" var="address">
								<tr>
									<td>
										${address.name}
									</td>
									<td style="text-align: left;" class="textwrap">
										${address.province}-${address.city}-${address.area}-${address.addr}
									</td>
									<td>
										${address.tel}
									</td>
									<td>
										${address.mobile}
									</td>
									<td>
										${address.zip}
									</td>
									<td>
										<a href="member_address_edit.html?addrId=${address.addrId}">修改</a>&nbsp;&nbsp;
										<a onclick=
	return confirm('<fmt:message key="common.confirm_deleted" />');;
href="member_address_delete.html?addrId=${address.addrId}">删除</a>&nbsp;&nbsp;

									</td>
								</tr>
							</c:forEach>
						</table>
						<div class="clearfix">
							${pagerString }
						</div>
					</div>
				</div>
			</div>
		</div>



		<%@ include file="/jsp/front/common/footer.jsp"%>
		<script type="text/javascript">
	document.getElementById('mc_address').className = 'current';
</script>
	</body>
</html>